
namespace SharpTalk.Client.WpfApplication.Controls
{
    using System.Windows;
    using System.Windows.Controls;
    using Resources;

    public sealed class DialogResultControl : ItemsControl
    {
        static DialogResultControl()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(DialogResultControl), new FrameworkPropertyMetadata(typeof(DialogResultControl)));
        }

        public DialogResultControl()
        {
            Items.Add(new Button() { Content = Messages.label_ok, IsDefault = true, MinWidth = 75, MinHeight = 23, Style = (Style)FindResource("DialogButtonStyle") });
            Items.Add(new Button() { Content = Messages.label_cancel, IsCancel = true, MinWidth = 75, MinHeight = 23, Style = (Style)FindResource("DialogButtonStyle") });
        
        }

    }
}